//
//  YKRecommendUserTableViewCell.m
//  baisi
//
//  Created by 吴高烽 on 16/9/4.
//  Copyright © 2016年 吴高烽. All rights reserved.
//

#import "YKRecommendUserTableViewCell.h"
#import "UIImageView+YKExtension.h"
//#import <AFNetworking/UIImageView+AFNetworking.h>
@interface  YKRecommendUserTableViewCell()
@property (weak, nonatomic) IBOutlet UIImageView *iconV;
@property (weak, nonatomic) IBOutlet UILabel *titleL;
@property (weak, nonatomic) IBOutlet UILabel *fancountL;


@end

@implementation YKRecommendUserTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setUser:(YKRecommendUser *)user{
    _user = user ; 
//    [self.iconV setImageWithURL:[NSURL URLWithString:user.header] placeholderImage:[UIImage imageNamed:@"header_cry_icon"]];
    [self.iconV setHeaderImage:user.header];
    self.titleL.text = user.screen_name;
    self.fancountL.text = [NSString stringWithFormat:@"%@人关注",user.fans_count];
}
@end
